import Vue from 'vue'
import App from './App.vue'
import router from './router'

import vHeader from './components/vHeader.vue'
Vue.component('vHeader',vHeader)
import '@/assets/css/index.css'

// 全局引入vantUI
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant)

import $axios from '@/http/index'   
Vue.prototype.$axios=$axios
Vue.prototype.$host='http://localhost:3000'

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
